import { defineComponent } from "vue";
import style from "./index.module.less";
import { phoneIconProps } from "./types";
import phone from "./asset/phone.png";
import apiTool from "@/command/apiTool";
export default defineComponent({
  name: "",
  props: phoneIconProps,
  setup(_) {
    return () => {
      return (
        <img
          src={phone}
          class="w-[40px] h-[40px]"
          onClick={() => apiTool.phoneClick(_.phone)}
        />
      );
    };
  },
});
